package com.paziy.jan.matrix;

import com.paziy.jan.fraction.Fraction;

import java.util.Random;

/**
 * Created with IntelliJ IDEA.
 * User: paziy
 * Date: 12.10.12
 * Time: 18:05
 * To change this template use File | Settings | File Templates.
 */
public class Output {
    public static void main(String[] args) {

        Matrix test = Matrix.random(3,3);
        Random rand = new Random();




       // Matrix test1 = new Matrix(new double[][] {{2, 2, 1, 2, 5}, {1, 3, 3, 1, 3}, {1, 2, 2, 1, 3}, {4, 2, 2, 3, 8}, {1, 5, 2, 1, 1}} );

        test.print();
        System.out.println();

        //Matrix a = Operations.inverse(test1);

        //test = Operations.transpose(test1);

        System.out.println("определитель = " + Operations.determinant(test));

        //a.print();
    }
}
